import java.util.Scanner;

public class abc337_A {
    public static void main(String[] args) {
        long s1 = 0, s2= 0;
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        for(int i = 1; i <= n; ++ i ) {
            s1 += sc.nextInt();
            s2 += sc.nextInt();
        }

        if(s1 > s2) {
            System.out.println("Takahashi\n");
        } else if (s1 == s2){
            System.out.println("Draw\n");
        } else {
            System.out.println("Aoki\n");
        }
    }
}
